package com.youpingou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youpingou.domain.Impression;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ImpressionMapper extends BaseMapper<Impression> {
    @Select("select * from tb_impression where spu_id=#{spuId}")
    public List<Impression> findImpressionBySpuId(Integer spuId);
}